﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using SLControlLibrary.Resources.Controls.Calendar.ClassicCalendar;
using SLControlLibrary.Resources.Controls.Calendar.Common;

namespace SLControlLibrary.Demo
{
    public partial class Page : UserControl
    {
        public Page()
        {
            InitializeComponent();
        }

        private void btnDispCalendar_Click(object sender, RoutedEventArgs e)
        {
            ccCalendars.Content = new DisplayCalendar();            
        }

        private void btnSelCalendarSingle_Click(object sender, RoutedEventArgs e)
        {
            ccCalendars.Content = new SelectionCalendar(Enumerations.SelectionMode.Single);
        }

        private void btnSelCalendarMultiple_Click(object sender, RoutedEventArgs e)
        {
            ccCalendars.Content = new SelectionCalendar(Enumerations.SelectionMode.Multiple);
        }

        private void btnExtCalendar_Click(object sender, RoutedEventArgs e)
        {
            ccCalendars.Content = new ExtendedCalendar();
        }

        private void btnPlayGround_Click(object sender, RoutedEventArgs e)
        {
            ccCalendars.Content = new PlayGround();
        }

        private void btnDateTimePicker_Click(object sender, RoutedEventArgs e)
        {
            ccCalendars.Content = new DateTimePicker();
        }

        private void btnOutlookCalendar_Click(object sender, RoutedEventArgs e)
        {
            ccCalendars.Content = new OutlookCalendar();
        }

        private void btnDayCalendar_Click(object sender, RoutedEventArgs e)
        {
            ccCalendars.Content = new DayCalendar();
        }
    }
}
